home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / basic / pbasmlib.zip / INSTLCHK.DOC < prev    next >
Text File  |  1994-02-12  |  5KB  |  130 lines

  1. PBASMLIB Assembly Language Routines for PB3C
  2. Version 1.0
  3. Library of Installation Checks
  4. (C) Copyright 1994 by Tim Gerchmez
  5. All Rights Reserved.
  6.  
  7. This module contains many installation checks for popular TSR programs
  8. and device drivers.  It is included in the PBASMLIB.PBL library, and will
  9. be immediately accessible to your programs by including the statements
  10. $INCLUDE "PBASMLIB.INC" and $LINK "PBASMLIB.PBL" at the top of your programs.
  11.  
  12. ALL PROGRAMS LISTED HEREIN ARE TRADEMARKS OF AND/OR
  13. COPYRIGHT THEIR RESPECTIVE OWNERS AND COMPANIES.
  14.  
  15. THE ROUTINES HEREIN PERFORM SOLELY AS INSTALLATION CHECKS
  16. AND DO NOT ATTEMPT TO ALTER THE FUNCTIONING OR THE PROGRAM
  17. CODE OF THOSE PROGRAMS CHECKED IN ANY WAY.  THE AUTHOR DOES
  18. NOT ENDORSE ANY OF THE PROGRAMS CHECKED FOR, AND ONLY ENOUGH
  19. INFORMATION IS PROVIDED FOR THE USER TO IDENTIFY THE PROGRAM
  20. AS BEING ONE THAT MAY BE RUNNING ON THE SYSTEM CHECKED BY THESE
  21. ROUTINES.  ALL WARRANTIES AS TO THE CORRECTNESS OF IDENTIFICATION
  22. OF THE AFOREMENTIONED PROGRAMS ARE DISCLAIMED.
  23.  
  24. ===============================================================================
  25. function installcheck(n%)
  26.  
  27. Checks for the existence of many different operating system extensions,
  28. BIOS extensions, and RAM-resident programs, given a function number.
  29.  
  30. installcheck: Returns 0 if not installed, -1 if installed,
  31.               -2 if function not supported, or 255 if an error
  32.               condition was encountered while checking.
  33.  
  34. n%: Set to one of the following programs to check for
  35.     installation status:
  36.  
  37.  0 = Frieze V7.41+ Video Utility
  38.  1 = VESA SVGA BIOS Extensions
  39.  2 = ATI EGA/VGA Wonder Super Switch (Video mode switch program)
  40.  3 = Video7/VEGA/HP Extended Video BIOS
  41.  4 = Compaq ADAPT.COM Display attribute programming tool
  42.  5 = Ultravision Video BIOS Extensions
  43.  6 = MSHERC Microsoft Hercules Graphics Extension
  44.  7 = BNU Fossil Driver
  45.  8 = Back & Forth Task Switcher
  46.  9 = Quick Cache Disk Caching Program
  47. 10 = MSJ TSRCOMM INT 14H
  48. 11 = COURIERS.COM (PC Magazine)
  49. 12 = ARTICOM (Artisoft COM driver)
  50. 13 = Video FOSSIL driver (VFOSSIL)
  51. 14 = MX5 Extended FOSSIL driver
  52. 15 = Advanced Power Management Specification
  53. 16 = Rational Systems DOS/16M
  54. 17 = Rational Systems DOS/4GW
  55. 18 = Netroom CACHECLK Cloaked Disk Cache
  56. 19 = FAKEY.COM Keyboard Utility
  57. 20 = MAKEY.COM Utility
  58. 21 = Scout V5.4 (Memory-resident file manager)
  59. 22 = Stackey keyboard buffer utility
  60. 23 = Norton Guides
  61. 24 = PC Tools V8+ CPTASK (Task Switcher)
  62. 25 = PC Tools V7+ DATAMON
  63. 26 = PC Cache V6+
  64. 27 = PC Tools V5.1+ Desktop API (DESKTOP.EXE)
  65. 28 = INSET Text/Graphics Integrator
  66. 29 = Disk Spool II V2.07+
  67. 30 = Super PC-Kwik V3.2+/PC-Cache V5.x/Qcache V4.0
  68. 31 = Desqview
  69. 32 = Quarterdeck DOS-UP.SYS V2+
  70. 33 = PC Anywhere IV/LAN
  71. 34 = PC-Mix
  72. 35 = IBM Genie (Utility TSR Set)
  73. 36 = Scrollit V1.7 Screen Utility
  74. 37 = Software Carousel (Task Switcher)
  75. 38 = DoubleDOS
  76. 39 = Rational Systems DOS/4G
  77. 40 = Flu Shot+ V1.83
  78. 41 = Network (MS, Lantastic, Netware, 10NET, Others)
  79. 42 = MS-DOS 3+ PRINT.COM
  80. 43 = MS-DOS 3+ ASSIGN
  81. 44 = MS-DOS DRIVER.SYS Internal Support Available
  82. 45 = MS-DOS SHARE
  83. 46 = MS-DOS Network Redirector
  84. 47 = MSCDEX CD-ROM Extensions
  85. 48 = MS-DOS NLSFUNC.COM
  86. 49 = Microsoft Windows Enhanced Mode running
  87. 50 = DPMI (DOS Protected Mode Interface)
  88. 51 = MS-DOS 4+ ANSI.SYS/AVATAR.SYS
  89. 52 = DR-DOS 5.0 GRAFTABL
  90. 53 = DR-DOS 6 TASKMAX
  91. 54 = Extended Memory Specification (XMS) Driver
  92. 55 = Novell DOS Protected Mode Services (DPMS)
  93. 56 = Microsoft Windows 3.0 Real/Standard Mode running
  94. 57 = MS-DOS 5+ DOSKEY
  95. 58 = SMARTDRV 4+ Disk Cache
  96. 59 = DBLSPACE.BIN Disk Cache
  97. 60 = MS-DOS 5+ Task Switcher
  98. 61 = INTERLNK
  99. 62 = Novell Netware low-level API
  100. 63 = Microsoft Mail MICRO.EXE
  101. 64 = VIDCLOCK.COM (TSR Clock Program)
  102. 65 = DOS 4.01+ GRAPHICS.COM
  103. 66 = DOS 3.3+ DISPLAY.SYS
  104. 67 = DOS 3.3+ KEYB.COM
  105. 68 = MS-DOS 3.3+ GRAFTABL.COM
  106. 69 = MS-DOS APPEND
  107. 70 = Network alternate check (LAN Manager, LANtastic, etc)
  108. 71 = DOS 5+ and Windows 3.0 EGA.SYS Driver
  109. 72 = After Dark screen saver for DOS
  110. 73 = Communicating Applications Specification (CAS)
  111. 74 = ZWMous Mouse Driver TSR
  112. 75 = 4DOS.COM
  113. 76 = Banyan Vines V4+
  114. 77 = Novell Netware Lite CLIENT.EXE
  115. 78 = Novell Netware Lite SERVER
  116. 79 = Novell Netware Lite NLCACHE Disk Cache
  117. 80 = CappaCom TSR Programs
  118. 81 = Quarterdeck QDPMI.SYS
  119. 82 = Hyperware Programs
  120. 83 = Stuffit V3.21+ Keyboard Utility
  121. 84 = GRIDLOC.EXE PC Security Program
  122. 85 = Soundblaster Speech Driver TSR
  123. 86 = Norton Utilities V5+ NCACHE
  124. 87 = Norton Utilities V5+ DISKREET
  125. 88 = Norton Utilities V5+ DISKMON
  126. 89 = Norton Utilities V5+ FILESAVE/EP
  127. 90 = EMM386.EXE V4.2+
  128.  
  129. Example: print installcheck(75)  'Prints -1 if 4DOS is installed
  130.